package com.eCommercecorecontract.svco;

import java.util.List;
import java.util.Set;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.eCommerce.corecontract.criteria.CategorieCriteria;
import com.eCommerce.corecontract.dto.CategorieDTO;
import com.eCommerce.corecontract.exception.EcommerceException;
import com.eCommerce.corecontract.exception.EcommerceSVCOException;

public interface ICategorieSVCO extends IServiceComposed{
	
	Long ajouterCategorie(CategorieDTO categorieDTO)throws EcommerceException;
	void modifierCategorie(CategorieDTO categorieDTO)throws EcommerceException;
	List rechercherCategorie(CategorieCriteria categorieCriteria)throws EcommerceException;
	void supprimerCategorie(Set<CategorieDTO> lifOfCategorieDTO)throws EcommerceException;
	void supprimerCategorie(CategorieDTO categorieDTO)throws EcommerceException;
	CategorieDTO visualiserCategorie(CategorieDTO categorieDTO)throws EcommerceException;
	List listerCategorie()throws EcommerceException;
}
